package common_msg

import (
	"iron_man_comm/src/goroslib/pkg/msg"
	"iron_man_comm/src/goroslib/pkg/msgs/std_msgs"
)

const (
	ControlPower_PowerOff         uint8 = 1
	ControlPower_PowerReboot      uint8 = 2
	ControlPower_PowerFCTIn       uint8 = 3
	ControlPower_PowerFCTOut      uint8 = 4
	ControlPower_PowerLowPowerIn  uint8 = 5
	ControlPower_PowerLowPowerOut uint8 = 6
	ControlPower_PowerSleepIn     uint8 = 7
	ControlPower_PowerSleepOut    uint8 = 8
)

type ControlPower struct {
	msg.Package     `ros:"common_msg"`
	msg.Definitions `ros:"uint8 PowerOff=1,uint8 PowerReboot=2,uint8 PowerFCTIn=3,uint8 PowerFCTOut=4,uint8 PowerLowPowerIn=5,uint8 PowerLowPowerOut=6,uint8 PowerSleepIn=7,uint8 PowerSleepOut=8"`
	Header          std_msgs.Header
	Cmd             uint8
}
